import { Tabs } from 'antd';
import React from 'react';
import './workReport.css'
import AgeReport from "./ageReport";
import AllReport from "./allReport";
import DayReport from "./dayReport";
import MonthReport from "./monthReport";
import SeasonReport from "./seasonReport";
import UnreadyReport from "./unreadyReport";
import WeekReport from "./weekReport";
import WorkEx from "./workEx";
import DoReport from "./doReport";

export default function WorkReport(){
    const { TabPane } = Tabs;

    const onChange = (key) => {
        console.log(key);
        console.log("a");
    };

    return(
        <Tabs defaultActiveKey="1" onChange={onChange}>
            <TabPane tab="全部" key="1">
                <AllReport/>
            </TabPane>
            <TabPane tab="未读" key="2">
                <UnreadyReport/>
            </TabPane>
            <TabPane tab="日报" key="3">
                <DayReport/>
            </TabPane>
            <TabPane tab="周报" key="4">
                <WeekReport/>
            </TabPane>
            <TabPane tab="月报" key="5">
                <MonthReport/>
            </TabPane>
            <TabPane tab="季报" key="6">
                <SeasonReport/>
            </TabPane>
            <TabPane tab="年报" key="7">
                <AgeReport/>
            </TabPane>
            <TabPane tab="工作心得" key="8" >
                <WorkEx/>
            </TabPane>
            <TabPane tab="写报告" key="9">
                <DoReport/>
            </TabPane>

        </Tabs>

    )


}